package com.ygqh.baby.service.wechat.model.good;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * 好物圈——商家信息
 *
 * @Author: sunshuo
 * @Date: 2019/5/21 12:01
 * @Version: 1.0
 */
public class GoodOrderBrand implements Serializable {

	private static final long serialVersionUID = -2741496630500383686L;

	/**
	 * 用于售后场景的商家联系电话，便于用户咨询和问题解决		非必填
	 */
	private String phone;

	/**
	 * 联系商家页面	必填
	 */
	private GoodContactDetailPage contactDetailPage;

	/**
	 * 商家logo，不填的话，默认取小程序头像	非必填
	 */
	private String logo;

	/**
	 * 商家名称，不填的话，默认取小程序名字	非必填
	 */
	private String name;

	@JSONField(name = "phone")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@JSONField(name = "contact_detail_page")
	public GoodContactDetailPage getContactDetailPage() {
		return contactDetailPage;
	}

	public void setContactDetailPage(GoodContactDetailPage contactDetailPage) {
		this.contactDetailPage = contactDetailPage;
	}

	@JSONField(name = "logo")
	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@JSONField(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "GoodOrderBrand{" +
				"phone='" + phone + '\'' +
				", contactDetailPage=" + contactDetailPage +
				", logo='" + logo + '\'' +
				", name='" + name + '\'' +
				'}';
	}
}
